package cn.juque.systemservice.entity;

import cn.juque.systemservice.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author JUQUE
 * @version 1.0.0
 * <ul>
 *  <li>simple-generator</li>
 *  <li>操作权限</li>
 * </ul>
 * @date 2022-11-20 22:17:11
 **/
@Data
@TableName(value = "SYS_ROLE_FUNC_RELATION")
public class RoleFuncRelation extends BaseEntity {

    /**
     * 操作权限ID
     */
    @TableId(value = "ID", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 角色ID
     */
    @TableField(value = "ROLE_ID")
    private String roleId;

    /**
     * 菜单或功能ID
     */
    @TableField(value = "MENU_ID")
    private String menuId;
}
